package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuy
 * @since 2021-12-16
 */
@TableName("bty_dysk")
@Data
public class BtyDysk implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 核销时间
     */
    @ExcelProperty(index = 0)
    @TableField("hxsj")
    private String hxsj;

    /**
     * 团购名称
     */
    @ExcelProperty(index = 1)
    @TableField("tgmc")
    private String tgmc;

    @ExcelProperty(index = 3)
    @TableField(exist = false)
    private String qm;

    @ExcelProperty(index = 4)
    @TableField(exist = false)
    private BigDecimal sfje;
    /**
     * 营业额
     */
    @ExcelProperty(index = 5)
    @TableField("yye")
    private BigDecimal yye;

    /**
     * 平台补贴
     */
    @ExcelProperty(index = 6)
    @TableField(exist = false)
    private BigDecimal ptbt;

    /**
     * 商家补贴
     */
    @ExcelProperty(index = 7)
    @TableField(exist = false)
    private BigDecimal sjbt;

    /**
     * 手续费
     */
    @ExcelProperty(index = 8)
    @TableField("sxf")
    private BigDecimal sxf;

    /**
     * 比例
     */
    @ExcelProperty(index = 9)
    @TableField(exist = false)
    private String bl;

    /**
     * 佣金
     */
    @ExcelProperty(index = 10)
    @TableField(exist = false)
    private String yj;


    /**
     * 到账金额
     */
    @ExcelProperty(index = 11)
    @TableField("dzje")
    private BigDecimal dzje;

    /**
     * 核销门店
     */
    @ExcelProperty(index = 12)
    @TableField("hxmd")
    private String hxmd;
    /**
     * 0失败 1成功
     */
    @TableField("flag")
    private Integer flag;
    /**
     * 门店id
     */
    @ExcelProperty(index = 13)
    @TableField("mdid")
    private  String mdid;

    /**
     * 昵称
     */
    @ExcelProperty(index = 14)
    @TableField(exist = false)
    private String nc;
    /**
     * 渠道
     */
    @ExcelProperty(index = 15)
    @TableField(exist = false)
    private String qd;

    /**
     * 服务商比例
     */
    @ExcelProperty(index = 16)
    @TableField(exist = false)
    private String fwsbl;

    /**
     * 服务商佣金
     */
    @ExcelProperty(index = 17)
    @TableField(exist = false)
    private String fwsyj;
    /**
     * 标志1区域 2 全国 3 团购
     */
    @ExcelProperty(index = 18)
    @TableField("state")
    private Integer state;

}
